<?xml version="1.0" encoding="ascii"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
          "DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <title>moltk._moltk.Biosequence</title>
  <link rel="stylesheet" href="epydoc.css" type="text/css" />
  <script type="text/javascript" src="epydoc.js"></script>
</head>

<body bgcolor="white" text="black" link="blue" vlink="#204080"
      alink="#204080">
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="moltk-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Project homepage -->
      <th class="navbar" align="right" width="100%">
        <table border="0" cellpadding="0" cellspacing="0">
          <tr><th class="navbar" align="center"
            ><a class="navbar" target="_top" href="http://code.google.com/p/moltk/">MolTK python API v0.3.1 Documentation</a></th>
          </tr></table></th>
  </tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0">
  <tr valign="top">
    <td width="100%">
      <span class="breadcrumbs">
        <a href="moltk-module.html">Package&nbsp;moltk</a> ::
        <a href="moltk._moltk-module.html" onclick="show_private();">Module&nbsp;_moltk</a> ::
        Class&nbsp;Biosequence
      </span>
    </td>
    <td>
      <table cellpadding="0" cellspacing="0">
        <!-- hide/show private -->
        <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
    onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
        <tr><td align="right"><span class="options"
            >[<a href="frames.html" target="_top">frames</a
            >]&nbsp;|&nbsp;<a href="moltk._moltk.Biosequence-class.html"
            target="_top">no&nbsp;frames</a>]</span></td></tr>
      </table>
    </td>
  </tr>
</table>
<!-- ==================== CLASS DESCRIPTION ==================== -->
<h1 class="epydoc">Class Biosequence</h1><p class="nomargin-top"></p>
<center>
<center>  <map id="uml_class_diagram_for_moltk__m_16" name="uml_class_diagram_for_moltk__m_16">
<area shape="rect" id="node55" href="moltk._moltk.Biosequence-class.html#__instance_size__" title="moltk._moltk.Biosequence.__instance_size__" alt="" coords="17,217,215,236"/>
<area shape="rect" id="node55" href="moltk._moltk.Biosequence-class.html#__init__" title="__init__( (object)arg1) &#45;&gt; None :" alt="" coords="17,239,215,257"/>
<area shape="rect" id="node55" href="moltk._moltk.Biosequence-class.html#__str__" title="__str__( (Biosequence)arg1) &#45;&gt; object :" alt="" coords="17,257,215,276"/>
<area shape="rect" id="node55" href="moltk._moltk.Biosequence-class.html#get_number_of_residues" title="get_number_of_residues( (Biosequence)arg1) &#45;&gt; int :" alt="" coords="17,276,215,295"/>
<area shape="rect" id="node55" href="moltk._moltk.Biosequence-class.html#get_residue" title="get_residue( (Biosequence)arg1, (int)ix) &#45;&gt; BiosequenceResidue :" alt="" coords="17,295,215,313"/>
<area shape="rect" id="node55" href="moltk._moltk.Biosequence-class.html#load_stream" title="load_stream( (Biosequence)arg1, (object)is) &#45;&gt; None :" alt="" coords="17,313,215,332"/>
<area shape="rect" id="node55" href="moltk._moltk.Biosequence-class.html#print_string" title="print_string( (Biosequence)arg1, (object)os) &#45;&gt; None :" alt="" coords="17,332,215,351"/>
<area shape="rect" id="node55" href="moltk._moltk.Biosequence-class.html#print_to_stream" title="print_to_stream( (Biosequence)arg1, (object)os) &#45;&gt; None :" alt="" coords="17,351,215,369"/>
<area shape="rect" id="node1" href="moltk._moltk.Biosequence-class.html" title="moltk._moltk.Biosequence" alt="" coords="5,193,227,375"/>
<area shape="rect" id="node56" href="moltk._moltk.BaseBiosequence.BaseResidue-class.html" title="moltk._moltk.BaseBiosequence.BaseResidue" alt="" coords="53,108,177,127"/>
<area shape="rect" id="node56" href="moltk._moltk.BaseBiosequence.GapResidue-class.html" title="GapResidue is used in Alignments" alt="" coords="53,127,177,145"/>
<area shape="rect" id="node56" href="moltk._moltk.BaseBiosequence-class.html#__reduce__" title="helper for pickle" alt="" coords="53,148,177,167"/>
<area shape="rect" id="node2" href="moltk._moltk.BaseBiosequence-class.html" title="moltk._moltk.BaseBiosequence" alt="" coords="41,83,188,173"/>
<area shape="rect" id="node57" href="javascript:void(0);" title="??.instance.__new__" alt="" coords="53,39,177,57"/>
<area shape="rect" id="node3" href="javascript:void(0);" title="??.instance" alt="" coords="41,6,188,63"/>
</map>
  <img src="uml_class_diagram_for_moltk__m_16.gif" alt='' usemap="#uml_class_diagram_for_moltk__m_16" ismap="ismap" class="graph-without-title" />
</center>
</center>
<hr />
<!-- ==================== NESTED CLASSES ==================== -->
<a name="section-NestedClasses"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Nested Classes</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-NestedClasses"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
  <tr>
    <td colspan="2" class="summary">
    <p class="indent-wrapped-lines"><b>Inherited from <code><a href="moltk._moltk.BaseBiosequence-class.html">BaseBiosequence</a></code></b>:
      <code><a href="moltk._moltk.BaseBiosequence.BaseResidue-class.html">BaseResidue</a></code>,
      <code><a href="moltk._moltk.BaseBiosequence.GapResidue-class.html">GapResidue</a></code>
      </p>
    </td>
  </tr>
</table>
<!-- ==================== INSTANCE METHODS ==================== -->
<a name="section-InstanceMethods"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Instance Methods</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-InstanceMethods"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="moltk._moltk.Biosequence-class.html#__init__" class="summary-sig-name">__init__</a>(<span class="summary-sig-arg">...</span>)</span><br />
      __init__( (object)arg1) -&gt; None :</td>
          <td align="right" valign="top">
            
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="moltk._moltk.Biosequence-class.html#__str__" class="summary-sig-name">__str__</a>(<span class="summary-sig-arg">...</span>)</span><br />
      __str__( (Biosequence)arg1) -&gt; object :</td>
          <td align="right" valign="top">
            
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="moltk._moltk.Biosequence-class.html#get_number_of_residues" class="summary-sig-name">get_number_of_residues</a>(<span class="summary-sig-arg">...</span>)</span><br />
      get_number_of_residues( (Biosequence)arg1) -&gt; int :</td>
          <td align="right" valign="top">
            
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="moltk._moltk.Biosequence-class.html#get_residue" class="summary-sig-name">get_residue</a>(<span class="summary-sig-arg">...</span>)</span><br />
      get_residue( (Biosequence)arg1, (int)ix) -&gt; BiosequenceResidue :</td>
          <td align="right" valign="top">
            
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="moltk._moltk.Biosequence-class.html#load_stream" class="summary-sig-name">load_stream</a>(<span class="summary-sig-arg">...</span>)</span><br />
      load_stream( (Biosequence)arg1, (object)is) -&gt; None :</td>
          <td align="right" valign="top">
            
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="moltk._moltk.Biosequence-class.html#print_string" class="summary-sig-name">print_string</a>(<span class="summary-sig-arg">...</span>)</span><br />
      print_string( (Biosequence)arg1, (object)os) -&gt; None :</td>
          <td align="right" valign="top">
            
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="moltk._moltk.Biosequence-class.html#print_to_stream" class="summary-sig-name">print_to_stream</a>(<span class="summary-sig-arg">...</span>)</span><br />
      print_to_stream( (Biosequence)arg1, (object)os) -&gt; None :</td>
          <td align="right" valign="top">
            
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
  <tr>
    <td colspan="2" class="summary">
    <p class="indent-wrapped-lines"><b>Inherited from <code><a href="moltk._moltk.BaseBiosequence-class.html">BaseBiosequence</a></code></b>:
      <code><a href="moltk._moltk.BaseBiosequence-class.html#__reduce__">__reduce__</a></code>
      </p>
    <p class="indent-wrapped-lines"><b>Inherited from <code><i>unreachable</i>.instance</code></b>:
      <code>__new__</code>
      </p>
    <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
      <code>__delattr__</code>,
      <code>__format__</code>,
      <code>__getattribute__</code>,
      <code>__hash__</code>,
      <code>__reduce_ex__</code>,
      <code>__repr__</code>,
      <code>__setattr__</code>,
      <code>__sizeof__</code>,
      <code>__subclasshook__</code>
      </p>
    </td>
  </tr>
</table>
<!-- ==================== CLASS VARIABLES ==================== -->
<a name="section-ClassVariables"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Class Variables</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-ClassVariables"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="__instance_size__"></a><span class="summary-name">__instance_size__</span> = <code title="64">64</code>
    </td>
  </tr>
</table>
<!-- ==================== PROPERTIES ==================== -->
<a name="section-Properties"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Properties</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-Properties"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
  <tr>
    <td colspan="2" class="summary">
    <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
      <code>__class__</code>
      </p>
    </td>
  </tr>
</table>
<!-- ==================== METHOD DETAILS ==================== -->
<a name="section-MethodDetails"></a>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Method Details</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-MethodDetails"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
</table>
<a name="__init__"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">__init__</span>(<span class="sig-arg">...</span>)</span>
    <br /><em class="fname">(Constructor)</em>
  </h3>
  </td><td align="right" valign="top"
    >&nbsp;
    </td>
  </tr></table>
  
  <pre class="literalblock">

__init__( (object)arg1) -&gt; None :

    C++ signature :
        void __init__(_object*)

__init__( (object)arg1, (str)sequence [, (str)description='']) -&gt; None :

    C++ signature :
        void __init__(_object*,std::string [,std::string=''])

__init__( (object)arg1, (str)sequence [, (str)description='']) -&gt; None :

    C++ signature :
        void __init__(_object*,char const* [,std::string=''])

__init__( (object)arg1, (Biosequence)rhs) -&gt; None :

    C++ signature :
        void __init__(_object*,moltk::Biosequence)

</pre>
  <dl class="fields">
    <dt>Overrides:
        object.__init__
    </dt>
  </dl>
</td></tr></table>
</div>
<a name="__str__"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">__str__</span>(<span class="sig-arg">...</span>)</span>
    <br /><em class="fname">(Informal representation operator)</em>
  </h3>
  </td><td align="right" valign="top"
    >&nbsp;
    </td>
  </tr></table>
  
  <pre class="literalblock">

__str__( (Biosequence)arg1) -&gt; object :

    C++ signature :
        _object* __str__(moltk::Biosequence {lvalue})

</pre>
  <dl class="fields">
    <dt>Overrides:
        object.__str__
    </dt>
  </dl>
</td></tr></table>
</div>
<a name="get_number_of_residues"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">get_number_of_residues</span>(<span class="sig-arg">...</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    >&nbsp;
    </td>
  </tr></table>
  
  <pre class="literalblock">

get_number_of_residues( (Biosequence)arg1) -&gt; int :

    C++ signature :
        unsigned long get_number_of_residues(moltk::Biosequence {lvalue})

get_number_of_residues( (Biosequence)arg1) -&gt; int :

    C++ signature :
        unsigned long get_number_of_residues(Biosequence_wrapper {lvalue})

</pre>
  <dl class="fields">
    <dt>Overrides:
        <a href="moltk._moltk.BaseBiosequence-class.html#get_number_of_residues">BaseBiosequence.get_number_of_residues</a>
    </dt>
  </dl>
</td></tr></table>
</div>
<a name="get_residue"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">get_residue</span>(<span class="sig-arg">...</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    >&nbsp;
    </td>
  </tr></table>
  
  <pre class="literalblock">

get_residue( (Biosequence)arg1, (int)ix) -&gt; BiosequenceResidue :

    C++ signature :
        moltk::BiosequenceResidue get_residue(moltk::Biosequence {lvalue},unsigned long)

</pre>
  <dl class="fields">
    <dt>Overrides:
        <a href="moltk._moltk.BaseBiosequence-class.html#get_residue">BaseBiosequence.get_residue</a>
    </dt>
  </dl>
</td></tr></table>
</div>
<a name="load_stream"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">load_stream</span>(<span class="sig-arg">...</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    >&nbsp;
    </td>
  </tr></table>
  
  <pre class="literalblock">

load_stream( (Biosequence)arg1, (object)is) -&gt; None :

    C++ signature :
        void load_stream(moltk::Biosequence {lvalue},std::istream {lvalue})

</pre>
  <dl class="fields">
  </dl>
</td></tr></table>
</div>
<a name="print_string"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">print_string</span>(<span class="sig-arg">...</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    >&nbsp;
    </td>
  </tr></table>
  
  <pre class="literalblock">

print_string( (Biosequence)arg1, (object)os) -&gt; None :

    C++ signature :
        void print_string(moltk::Biosequence {lvalue},std::ostream {lvalue})

</pre>
  <dl class="fields">
  </dl>
</td></tr></table>
</div>
<a name="print_to_stream"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">print_to_stream</span>(<span class="sig-arg">...</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    >&nbsp;
    </td>
  </tr></table>
  
  <pre class="literalblock">

print_to_stream( (Biosequence)arg1, (object)os) -&gt; None :

    C++ signature :
        void print_to_stream(moltk::Biosequence {lvalue},std::ostream {lvalue})

print_to_stream( (Biosequence)arg1, (object)os) -&gt; None :

    C++ signature :
        void print_to_stream(Biosequence_wrapper {lvalue},std::ostream {lvalue})

</pre>
  <dl class="fields">
    <dt>Overrides:
        <a href="moltk._moltk.BaseBiosequence-class.html#print_to_stream">BaseBiosequence.print_to_stream</a>
    </dt>
  </dl>
</td></tr></table>
</div>
<br />
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="moltk-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Project homepage -->
      <th class="navbar" align="right" width="100%">
        <table border="0" cellpadding="0" cellspacing="0">
          <tr><th class="navbar" align="center"
            ><a class="navbar" target="_top" href="http://code.google.com/p/moltk/">MolTK python API v0.3.1 Documentation</a></th>
          </tr></table></th>
  </tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
  <tr>
    <td align="left" class="footer">
    Generated by Epydoc 3.0.1 on Thu Oct 20 09:42:19 2011
    </td>
    <td align="right" class="footer">
      <a target="mainFrame" href="http://epydoc.sourceforge.net"
        >http://epydoc.sourceforge.net</a>
    </td>
  </tr>
</table>

<script type="text/javascript">
  <!--
  // Private objects are initially displayed (because if
  // javascript is turned off then we want them to be
  // visible); but by default, we want to hide them.  So hide
  // them unless we have a cookie that says to show them.
  checkCookie();
  // -->
</script>
</body>
</html>
